<ion-modal-view>
  <ion-header-bar class="bar bar-royal">
    <h1 class="title">{{catalog.name}} 属性 - {{property.name}}</h1>
    <div class="buttons">
      <button class="button button-icon ion-ios-close-empty" ng-click="modal.hide();"></button>
    </div>
    </ion-header-bar>
    <ion-content>
      <ion-list class="wrap-light2">
      <form name="propForm" ng-submit="updateProperty(property)">
        <ion-checkbox ng-repeat="pv in property.value_set" ng-model="pv.enabled" ng-checked="pv.enabled">
          {{pv.name}}
          <span ng-if="property._id=='color'" class="color-box" style="background-color:{{pv.rgb}}"></span>
        </ion-checkbox>
        <button class="button button-block button-royal" tyle="submit">保存</button>
      </form>
    </ion-list>
  </ion-content>
</ion-modal-view>